package com.common.help.test04;

import java.util.Date;
import java.util.Properties;

public class Test {

	public static void main(String[] args) {
	    System.out.println(new Date());
	    Properties p = System.getProperties();
	    p.list(System.out);
	    System.out.println("--- Memory Usage:");
	    Runtime rt = Runtime.getRuntime();
	    System.out.println("Total Memory = "
	                       + rt.totalMemory()
	                       + " Free Memory = "
	                       + rt.freeMemory());
	  }

}
